//老师类
class teacher{
    //构造函数
    construction(name,work){
        this.name = name;
        this.work = work;
    }
        //工作函数
    Towork(){
        console.log('hello'+this.name+'工作了：'+this.work)   
    }
}
